<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<?php if(@$_POST['pc']=='pc版'){ ?>
			<link  type="text/css" rel="stylesheet" href="css/PC.css">
		<?php }elseif (@$_POST['ph']=='手机版') { ?>
			<link  type="text/css" rel="stylesheet" href="css/Phone.css">
		<?php }?>
	</head>
	<body>

		<section class="box">
			<header class="main-header">
				<nav class="navbar">
					导航
				</nav>
			</header> 
			<section class="content">
				内容
			</section>
			<footer class="main-footer">
				脚
			</footer>
			<form action="" method="post">
					<input type="submit" name="ph" value="手机版">
					<input type="submit" name="pc" value="pc版">
				</form>
		</section>
	</body>
</html>
